import request from '@/config/request';

class Product {


  markList = () => {
    return request.get('mark/markList');
  };

  saveMark = (dat) => {
    return request.post('mark/saveMark', dat);
  };

  deleteMark = (id) => {
    return request.post('mark/deleteMark', id);
  }

  getProductList = (data) => {
    return request.get('product', { params: data });
  }

  getProductDetail = (data) => {
    return request.get('product/detail', { params: data });
  }


}

export default new Product();